package com.yyy.pojo;
//这个类用来封装数据库中对应的tb_door表
public class tb_door {
    private Integer id;//店铺id
    private String name;//店铺名称
    private String tel;//店铺电话
    private String addr;//店铺地址
    //提供对外的设置变量和获取变量值的方法

    public Integer getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    //重写toString()方法
    @Override
    public String toString() {
        return "tb_door{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", addr='" + addr + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }
}
